package com.example.a79273.shandianban.model;

import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;

import org.json.JSONException;
import org.json.JSONObject;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by lenovo on 2016/9/1.
 */
public class ShopGuessLikeBean {

    /**
     * error_code : 0
     * error_msg : 获取喜欢产品数据成功
     * data : {"lists":[{"proid":"236000170392","name":"女童爱心图案圆领套头长袖毛衣","price":69,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/236000170392/372e56a07e.jpg","href":"api/Mall/ProductsDetails/236000170392","mark":"","cateid":"","catename":""},{"proid":"237000320256","name":"男童民族风圆领套头毛衣","price":125,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/237000320256/372e8eeea9.jpg","href":"api/Mall/ProductsDetails/237000320256","mark":"","cateid":"","catename":""},{"proid":"237000320387","name":"男童民族风圆领套头毛衣","price":125,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/237000320387/372e7fac6a.jpg","href":"api/Mall/ProductsDetails/237000320387","mark":"","cateid":"","catename":""},{"proid":"214001664445","name":"云朵刺绣圆领毛衣","price":94,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664445/372e7758c6.jpg","href":"api/Mall/ProductsDetails/214001664445","mark":"","cateid":"","catename":""},{"proid":"240000760327","name":"女童休闲纯色针织开衫","price":69,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/240000760327/37e1383bed.jpg","href":"api/Mall/ProductsDetails/240000760327","mark":"","cateid":"","catename":""},{"proid":"214000664476","name":"简约镂空短袖针织衫","price":160,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664476/37e1220551.jpg","href":"api/Mall/ProductsDetails/214000664476","mark":"","cateid":"","catename":""},{"proid":"237000320488","name":"男童翻领长袖毛衫外套","price":161,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/237000320488/372e7fad92.jpg","href":"api/Mall/ProductsDetails/237000320488","mark":"","cateid":"","catename":""},{"proid":"214001664993","name":"彩虹条纹宽松毛衣","price":86,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664993/381cbecc42.jpg","href":"api/Mall/ProductsDetails/214001664993","mark":"","cateid":"","catename":""},{"proid":"240000760748","name":"男童圆领套头长袖毛衣","price":155,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/240000760748/37e1477dfc.jpg","href":"api/Mall/ProductsDetails/240000760748","mark":"","cateid":"","catename":""},{"proid":"214001664011","name":"蝙蝠袖网状开衫","price":200,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664011/36b72181c3.jpg","href":"api/Mall/ProductsDetails/214001664011","mark":"","cateid":"","catename":""},{"proid":"214001664286","name":"简约休闲长版薄外套","price":126,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664286/37e1408925.jpg","href":"api/Mall/ProductsDetails/214001664286","mark":"","cateid":"","catename":""},{"proid":"236000170012","name":"男童熨贴图案圆领套头长袖毛衣","price":69,"sales":2,"style":"","type":"","collar":"","url":"/Upload/Product/236000170012/372e65e23a.jpg","href":"api/Mall/ProductsDetails/236000170012","mark":"","cateid":"","catename":""},{"proid":"214001664146","name":"蝙蝠袖粗针宽松外套","price":110,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664146/367b9175e5.jpg","href":"api/Mall/ProductsDetails/214001664146","mark":"","cateid":"","catename":""},{"proid":"214001664345","name":"细纹圆领套头衫","price":110,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664345/37e1408a08.jpg","href":"api/Mall/ProductsDetails/214001664345","mark":"","cateid":"","catename":""},{"proid":"241000434086","name":"纯色接拼长款毛衣","price":94,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/241000434086/381cce0c68.jpg","href":"api/Mall/ProductsDetails/241000434086","mark":"","cateid":"","catename":""},{"proid":"241000744112","name":"麻绳编织长款针织毛衣","price":118,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/241000744112/381cd2ca3c.jpg","href":"api/Mall/ProductsDetails/241000744112","mark":"","cateid":"","catename":""},{"proid":"214001664890","name":"几何条纹外套","price":160,"sales":1,"style":"","type":"","collar":"","url":"/Upload/Product/214001664890/36b72180cb.jpg","href":"api/Mall/ProductsDetails/214001664890","mark":"","cateid":"","catename":""},{"proid":"214001664123","name":"简约条纹轻薄开衫","price":126,"sales":1,"style":"","type":"","collar":"","url":"/Upload/Product/214001664123/37e1314999.jpg","href":"api/Mall/ProductsDetails/214001664123","mark":"","cateid":"","catename":""},{"proid":"214001664625","name":"竖纹拉链针织外套","price":194,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664625/37e14fcbf0.jpg","href":"api/Mall/ProductsDetails/214001664625","mark":"","cateid":"","catename":""},{"proid":"236000334071","name":"暗花长袖薄开衫","price":170,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/236000334071/36f2b75230.jpg","href":"api/Mall/ProductsDetails/236000334071","mark":"","cateid":"","catename":""},{"proid":"241000744098","name":"简约毛织针织及膝外套","price":136,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/241000744098/381cd2c9e7.jpg","href":"api/Mall/ProductsDetails/241000744098","mark":"","cateid":"","catename":""},{"proid":"214000664813","name":"简约百搭黑白条纹毛衣","price":84,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664813/372e7756e7.jpg","href":"api/Mall/ProductsDetails/214000664813","mark":"","cateid":"","catename":""},{"proid":"214000664452","name":"复古修身混色毛衣","price":86,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664452/367b917466.jpg","href":"api/Mall/ProductsDetails/214000664452","mark":"","cateid":"","catename":""},{"proid":"214001664869","name":"几何复古拼接针织背心","price":86,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664869/367ba0b823.jpg","href":"api/Mall/ProductsDetails/214001664869","mark":"","cateid":"","catename":""},{"proid":"214001664348","name":"复古撞色条纹针织衫","price":88,"sales":1,"style":"","type":"","collar":"","url":"/Upload/Product/214001664348/385856d5f6.jpg","href":"api/Mall/ProductsDetails/214001664348","mark":"","cateid":"","catename":""},{"proid":"241000744061","name":"前短后长毛衣套头","price":118,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/241000744061/381cd2c706.jpg","href":"api/Mall/ProductsDetails/241000744061","mark":"","cateid":"","catename":""},{"proid":"214001664855","name":"双插袋条纹外套","price":156,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664855/37e15f0ca4.jpg","href":"api/Mall/ProductsDetails/214001664855","mark":"","cateid":"","catename":""},{"proid":"214000664277","name":"凸纹质感针织衫","price":144,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664277/31d36f0175.jpg","href":"api/Mall/ProductsDetails/214000664277","mark":"","cateid":"","catename":""},{"proid":"214002664124","name":"白色英伦条纹袖毛衣","price":130,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214002664124/372e8698d7.jpg","href":"api/Mall/ProductsDetails/214002664124","mark":"","cateid":"","catename":""},{"proid":"241000744262","name":"纯色口袋打底针织衣","price":88,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/241000744262/381ce20bf2.jpg","href":"api/Mall/ProductsDetails/241000744262","mark":"","cateid":"","catename":""},{"proid":"240000760255","name":"女童纯色打底圆领长袖毛衣","price":69,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/240000760255/37e128fb89.jpg","href":"api/Mall/ProductsDetails/240000760255","mark":"","cateid":"","catename":""},{"proid":"241000744114","name":"纯色廓形毛织外套","price":150,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/241000744114/381ce20943.jpg","href":"api/Mall/ProductsDetails/241000744114","mark":"","cateid":"","catename":""},{"proid":"214001664037","name":"圆领竖条纹针织衣","price":114,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664037/38586617dc.jpg","href":"api/Mall/ProductsDetails/214001664037","mark":"","cateid":"","catename":""},{"proid":"214001664462","name":"撞色条纹套头衫","price":131,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664462/37e14fcafe.jpg","href":"api/Mall/ProductsDetails/214001664462","mark":"","cateid":"","catename":""},{"proid":"236000170230","name":"女童条纹圆领套头长袖毛衣","price":69,"sales":2,"style":"","type":"","collar":"","url":"/Upload/Product/236000170230/372e56a220.jpg","href":"api/Mall/ProductsDetails/236000170230","mark":"","cateid":"","catename":""},{"proid":"214000664387","name":"薄透字母短袖连衣裙","price":136,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664387/36b72180ab.jpg","href":"api/Mall/ProductsDetails/214000664387","mark":"","cateid":"","catename":""},{"proid":"214000664752","name":"中袖圆孔薄开衫","price":170,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664752/37e1220657.jpg","href":"api/Mall/ProductsDetails/214000664752","mark":"","cateid":"","catename":""},{"proid":"236000500091","name":"高领纯色灯笼袖毛衣","price":108,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/236000500091/36f2b9dad6.jpg","href":"api/Mall/ProductsDetails/236000500091","mark":"","cateid":"","catename":""},{"proid":"240000760516","name":"男童字母圆领套头毛衣","price":173,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/240000760516/37e1383d68.jpg","href":"api/Mall/ProductsDetails/240000760516","mark":"","cateid":"","catename":""},{"proid":"234001674815","name":"小雏菊碎花刺绣圆领毛衣","price":88,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/234001674815/367bd33abc.jpg","href":"api/Mall/ProductsDetails/234001674815","mark":"","cateid":"","catename":""},{"proid":"241000434158","name":"简约毛织开衫外套","price":120,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/241000434158/381cdd50d6.jpg","href":"api/Mall/ProductsDetails/241000434158","mark":"","cateid":"","catename":""},{"proid":"241000744128","name":"宽松双插袋毛织开衫外套","price":178,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/241000744128/381ce20b29.jpg","href":"api/Mall/ProductsDetails/241000744128","mark":"","cateid":"","catename":""},{"proid":"237000630031","name":"女童条纹圆领长袖套头毛衣","price":69,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/237000630031/372e569f6d.jpg","href":"api/Mall/ProductsDetails/237000630031","mark":"","cateid":"","catename":""},{"proid":"214000664164","name":"弧形宽松百搭毛衣","price":94,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664164/372e6815ae.jpg","href":"api/Mall/ProductsDetails/214000664164","mark":"","cateid":"","catename":""},{"proid":"214001664730","name":"撞色复古学院风毛衣","price":88,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664730/367ba0b76a.jpg","href":"api/Mall/ProductsDetails/214001664730","mark":"","cateid":"","catename":""},{"proid":"214000664952","name":"钩花针织长袖薄开衫","price":190,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664952/37e1314839.jpg","href":"api/Mall/ProductsDetails/214000664952","mark":"","cateid":"","catename":""},{"proid":"214000664816","name":"个性中袖插袋开衫","price":180,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664816/37e131473d.jpg","href":"api/Mall/ProductsDetails/214000664816","mark":"","cateid":"","catename":""},{"proid":"214000664916","name":"简约条纹九分袖针织衫","price":86,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664916/372e7757b7.jpg","href":"api/Mall/ProductsDetails/214000664916","mark":"","cateid":"","catename":""},{"proid":"214000664979","name":"七分袖修身针织衣","price":74,"sales":1,"style":"","type":"","collar":"","url":"/Upload/Product/214000664979/372e77589b.jpg","href":"api/Mall/ProductsDetails/214000664979","mark":"","cateid":"","catename":""},{"proid":"237000320519","name":"男童简约圆领套头毛衣","price":143,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/237000320519/372e8eee64.jpg","href":"api/Mall/ProductsDetails/237000320519","mark":"","cateid":"","catename":""},{"proid":"214001664795","name":"复古趣味拼接毛衣","price":100,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664795/367ba0b7a3.jpg","href":"api/Mall/ProductsDetails/214001664795","mark":"","cateid":"","catename":""},{"proid":"241000434144","name":"纯色V型长款套头","price":76,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/241000434144/381cdd4f5c.jpg","href":"api/Mall/ProductsDetails/241000434144","mark":"","cateid":"","catename":""},{"proid":"214000664710","name":"刺绣卡通天鹅毛衣","price":100,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664710/367b917595.jpg","href":"api/Mall/ProductsDetails/214000664710","mark":"","cateid":"","catename":""},{"proid":"214001664628","name":"个性彩虹撞色毛衣","price":94,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664628/372e8699f7.jpg","href":"api/Mall/ProductsDetails/214001664628","mark":"","cateid":"","catename":""},{"proid":"241000744013","name":"V领宽松套头毛衣","price":122,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/241000744013/381cd2c831.jpg","href":"api/Mall/ProductsDetails/241000744013","mark":"","cateid":"","catename":""},{"proid":"214001664931","name":"简约条纹连衣裙","price":112,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664931/367ba0b6a5.jpg","href":"api/Mall/ProductsDetails/214001664931","mark":"","cateid":"","catename":""},{"proid":"237000320140","name":"男童趣味图案V领长袖开衫","price":113,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/237000320140/372e706c18.jpg","href":"api/Mall/ProductsDetails/237000320140","mark":"","cateid":"","catename":""},{"proid":"241000744116","name":"竖条撞色长款毛织外套","price":78,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/241000744116/381ce2099b.jpg","href":"api/Mall/ProductsDetails/241000744116","mark":"","cateid":"","catename":""},{"proid":"214001664827","name":"宽松条纹蝙蝠袖针织衫","price":86,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664827/381cec9172.jpg","href":"api/Mall/ProductsDetails/214001664827","mark":"","cateid":"","catename":""},{"proid":"214001664863","name":"学院风不规则几何毛衣","price":88,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664863/367ba0b7ce.jpg","href":"api/Mall/ProductsDetails/214001664863","mark":"","cateid":"","catename":""},{"proid":"236000170133","name":"女童印花圆领长袖套头毛衣","price":69,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/236000170133/372e65e17b.jpg","href":"api/Mall/ProductsDetails/236000170133","mark":"","cateid":"","catename":""},{"proid":"214001664555","name":"糖果拼色条纹毛衣","price":78,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664555/372e775937.jpg","href":"api/Mall/ProductsDetails/214001664555","mark":"","cateid":"","catename":""},{"proid":"214001664430","name":"复古条纹圆领套头衫","price":118,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664430/37e1408ae2.jpg","href":"api/Mall/ProductsDetails/214001664430","mark":"","cateid":"","catename":""},{"proid":"214000664575","name":"简约镂空短袖针织衫","price":156,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664575/36b7218123.jpg","href":"api/Mall/ProductsDetails/214000664575","mark":"","cateid":"","catename":""},{"proid":"237000320635","name":"男童双插袋V领开衫","price":137,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/237000320635/372e8eed77.jpg","href":"api/Mall/ProductsDetails/237000320635","mark":"","cateid":"","catename":""},{"proid":"214000664211","name":"宽松短款长袖毛衣","price":102,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664211/372e681488.jpg","href":"api/Mall/ProductsDetails/214000664211","mark":"","cateid":"","catename":""},{"proid":"214001664929","name":"兔绒竖条纹加厚毛衣","price":120,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664929/381cbecd1b.jpg","href":"api/Mall/ProductsDetails/214001664929","mark":"","cateid":"","catename":""},{"proid":"236000170246","name":"女童爱心图案圆领套头长袖毛衣","price":69,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/236000170246/372e56a1a9.jpg","href":"api/Mall/ProductsDetails/236000170246","mark":"","cateid":"","catename":""},{"proid":"240000760697","name":"男童圆领套头长袖毛衣","price":155,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/240000760697/37e1383ed6.jpg","href":"api/Mall/ProductsDetails/240000760697","mark":"","cateid":"","catename":""},{"proid":"214000664362","name":"圆领针织毛线衫","price":82,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664362/372e6816c7.jpg","href":"api/Mall/ProductsDetails/214000664362","mark":"","cateid":"","catename":""},{"proid":"214000664636","name":"糖果色长袖毛线外套","price":94,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664636/372e775603.jpg","href":"api/Mall/ProductsDetails/214000664636","mark":"","cateid":"","catename":""},{"proid":"240000760381","name":"女童纯色圆领长袖编织开衫","price":69,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/240000760381/37e128fc8c.jpg","href":"api/Mall/ProductsDetails/240000760381","mark":"","cateid":"","catename":""},{"proid":"214001664717","name":"清新卡通羽毛球拍毛衣","price":88,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664717/372e869a72.jpg","href":"api/Mall/ProductsDetails/214001664717","mark":"","cateid":"","catename":""},{"proid":"214001664995","name":"流苏宽松V领毛衣","price":102,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664995/367ba0b832.jpg","href":"api/Mall/ProductsDetails/214001664995","mark":"","cateid":"","catename":""},{"proid":"214000664920","name":"露肩修身针织毛衣","price":86,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664920/367b9175a4.jpg","href":"api/Mall/ProductsDetails/214000664920","mark":"","cateid":"","catename":""},{"proid":"214001664212","name":"鱼尾裙摆针织长裙","price":100,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664212/385856d7e4.jpg","href":"api/Mall/ProductsDetails/214001664212","mark":"","cateid":"","catename":""},{"proid":"214000664532","name":"纯色麻花针织马甲","price":86,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664532/367b91750e.jpg","href":"api/Mall/ProductsDetails/214000664532","mark":"","cateid":"","catename":""},{"proid":"214002664116","name":"简约条纹开衫","price":116,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214002664116/367ba0b718.jpg","href":"api/Mall/ProductsDetails/214002664116","mark":"","cateid":"","catename":""},{"proid":"214001664782","name":"简约条纹V领单扣外套","price":186,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664782/37e14fcd14.jpg","href":"api/Mall/ProductsDetails/214001664782","mark":"","cateid":"","catename":""},{"proid":"214002664082","name":"宽松拼色字母高领毛衣","price":100,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214002664082/381cce0be2.jpg","href":"api/Mall/ProductsDetails/214002664082","mark":"","cateid":"","catename":""},{"proid":"241000434068","name":"横条纹理长款针织衣","price":78,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/241000434068/381cce0e31.jpg","href":"api/Mall/ProductsDetails/241000434068","mark":"","cateid":"","catename":""},{"proid":"214001664662","name":"学院字母破洞针织背心","price":70,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214001664662/372e86986e.jpg","href":"api/Mall/ProductsDetails/214001664662","mark":"","cateid":"","catename":""},{"proid":"214000664778","name":"横纹针织长袖薄开衫","price":170,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214000664778/36b7218169.jpg","href":"api/Mall/ProductsDetails/214000664778","mark":"","cateid":"","catename":""},{"proid":"214002664190","name":"钩花镂空毛衣罩衫","price":80,"sales":0,"style":"","type":"","collar":"","url":"/Upload/Product/214002664190/381cbecb7d.jpg","href":"api/Mall/ProductsDetails/214002664190","mark":"","cateid":"","catename":""}]}
     */

    private int error_code;
    private String error_msg;
    private DataBean data;

    public static ShopGuessLikeBean objectFromData(String str) {

        return new Gson().fromJson(str, ShopGuessLikeBean.class);
    }

    public static ShopGuessLikeBean objectFromData(String str, String key) {

        try {
            JSONObject jsonObject = new JSONObject(str);

            return new Gson().fromJson(jsonObject.getString(str), ShopGuessLikeBean.class);
        } catch (JSONException e) {
            e.printStackTrace();
        }

        return null;
    }

    public static List<ShopGuessLikeBean> arrayShopGuessLikeBeanFromData(String str) {

        Type listType = new TypeToken<ArrayList<ShopGuessLikeBean>>() {
        }.getType();

        return new Gson().fromJson(str, listType);
    }

    public static List<ShopGuessLikeBean> arrayShopGuessLikeBeanFromData(String str, String key) {

        try {
            JSONObject jsonObject = new JSONObject(str);
            Type listType = new TypeToken<ArrayList<ShopGuessLikeBean>>() {
            }.getType();

            return new Gson().fromJson(jsonObject.getString(str), listType);

        } catch (JSONException e) {
            e.printStackTrace();
        }

        return new ArrayList();


    }

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public String getError_msg() {
        return error_msg;
    }

    public void setError_msg(String error_msg) {
        this.error_msg = error_msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * proid : 236000170392
         * name : 女童爱心图案圆领套头长袖毛衣
         * price : 69.0
         * sales : 0
         * style :
         * type :
         * collar :
         * url : /Upload/Product/236000170392/372e56a07e.jpg
         * href : api/Mall/ProductsDetails/236000170392
         * mark :
         * cateid :
         * catename :
         */

        private List<ListsBean> lists;

        public static DataBean objectFromData(String str) {

            return new Gson().fromJson(str, DataBean.class);
        }

        public static DataBean objectFromData(String str, String key) {

            try {
                JSONObject jsonObject = new JSONObject(str);

                return new Gson().fromJson(jsonObject.getString(str), DataBean.class);
            } catch (JSONException e) {
                e.printStackTrace();
            }

            return null;
        }

        public static List<DataBean> arrayDataBeanFromData(String str) {

            Type listType = new TypeToken<ArrayList<DataBean>>() {
            }.getType();

            return new Gson().fromJson(str, listType);
        }

        public static List<DataBean> arrayDataBeanFromData(String str, String key) {

            try {
                JSONObject jsonObject = new JSONObject(str);
                Type listType = new TypeToken<ArrayList<DataBean>>() {
                }.getType();

                return new Gson().fromJson(jsonObject.getString(str), listType);

            } catch (JSONException e) {
                e.printStackTrace();
            }

            return new ArrayList();


        }

        public List<ListsBean> getLists() {
            return lists;
        }

        public void setLists(List<ListsBean> lists) {
            this.lists = lists;
        }

        public static class ListsBean {
            private String proid;
            private String name;
            private double price;
            private int sales;
            private String style;
            private String type;
            private String collar;
            private String url;
            private String href;
            private String mark;
            private String cateid;
            private String catename;

            public static ListsBean objectFromData(String str) {

                return new Gson().fromJson(str, ListsBean.class);
            }

            public static ListsBean objectFromData(String str, String key) {

                try {
                    JSONObject jsonObject = new JSONObject(str);

                    return new Gson().fromJson(jsonObject.getString(str), ListsBean.class);
                } catch (JSONException e) {
                    e.printStackTrace();
                }

                return null;
            }

            public static List<ListsBean> arrayListsBeanFromData(String str) {

                Type listType = new TypeToken<ArrayList<ListsBean>>() {
                }.getType();

                return new Gson().fromJson(str, listType);
            }

            public static List<ListsBean> arrayListsBeanFromData(String str, String key) {

                try {
                    JSONObject jsonObject = new JSONObject(str);
                    Type listType = new TypeToken<ArrayList<ListsBean>>() {
                    }.getType();

                    return new Gson().fromJson(jsonObject.getString(str), listType);

                } catch (JSONException e) {
                    e.printStackTrace();
                }

                return new ArrayList();


            }

            public String getProid() {
                return proid;
            }

            public void setProid(String proid) {
                this.proid = proid;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public int getSales() {
                return sales;
            }

            public void setSales(int sales) {
                this.sales = sales;
            }

            public String getStyle() {
                return style;
            }

            public void setStyle(String style) {
                this.style = style;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getCollar() {
                return collar;
            }

            public void setCollar(String collar) {
                this.collar = collar;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getHref() {
                return href;
            }

            public void setHref(String href) {
                this.href = href;
            }

            public String getMark() {
                return mark;
            }

            public void setMark(String mark) {
                this.mark = mark;
            }

            public String getCateid() {
                return cateid;
            }

            public void setCateid(String cateid) {
                this.cateid = cateid;
            }

            public String getCatename() {
                return catename;
            }

            public void setCatename(String catename) {
                this.catename = catename;
            }
        }
    }
}
